function FlashHeaderHome()
{
document.write('<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"../fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"586\" height=\"310\" id=\"flash_home_new\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"flash_home_new.swf\" /><param name=\"loop\" value=\"false\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"bgcolor\" value=\"#000000\" /><embed src=\"flash_home_new.swf\" loop=\"false\" menu=\"false\" quality=\"high\" wmode=\"transparent\" bgcolor=\"#000000\" width=\"586\" height=\"310\" name=\"flash_home_new\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"../www.macromedia.com/go/getflashplayer\" /></object>');
}

function FlashHeader4th()
{
document.write('<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"../fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"586\" height=\"310\" id=\"flash_home_4th\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"flash_home_4th.swf\" /><param name=\"loop\" value=\"false\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"bgcolor\" value=\"#000000\" /><embed src=\"flash_home_4th.swf\" loop=\"false\" menu=\"false\" quality=\"high\" wmode=\"transparent\" bgcolor=\"#000000\" width=\"586\" height=\"310\" name=\"flash_home_4th\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"../www.macromedia.com/go/getflashplayer\" /></object>');
}

function FlashHeaderDs()
{
document.write('<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"../fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"586\" height=\"310\" id=\"flash_home_ds\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"flash_home_ds.swf\" /><param name=\"loop\" value=\"false\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"bgcolor\" value=\"#000000\" /><embed src=\"flash_home_ds.swf\" loop=\"false\" menu=\"false\" quality=\"high\" wmode=\"transparent\" bgcolor=\"#000000\" width=\"586\" height=\"310\" name=\"flash_home_ds\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"../www.macromedia.com/go/getflashplayer\" /></object>');
}

function FlashHeaderDSA()
{
document.write('<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"../fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"586\" height=\"310\" id=\"flash_home_dsa\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"flash_home_dsa.swf\" /><param name=\"loop\" value=\"false\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"bgcolor\" value=\"#000000\" /><embed src=\"flash_home_dsa.swf\" loop=\"false\" menu=\"false\" quality=\"high\" wmode=\"transparent\" bgcolor=\"#000000\" width=\"586\" height=\"310\" name=\"flash_home_dsa\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"../www.macromedia.com/go/getflashplayer\" /></object>');
}

function FlashContest()
{
document.write('<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"../fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"586\" height=\"143\" id=\"congrats.swf\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"congrats.swf\" /><param name=\"loop\" value=\"false\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"bgcolor\" value=\"#000000\" /><embed src=\"congrats.swf\" loop=\"false\" menu=\"false\" quality=\"high\" wmode=\"transparent\" bgcolor=\"#000000\" width=\"586\" height=\"143\" name=\"congrats.swf\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"../www.macromedia.com/go/getflashplayer\" /></object>');
}
function openWin(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}
function FlashHeader(title,sec)
{document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"../download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"586\" height=\"107\"> <param name=\"movie\" value=\"img/flash_header.swf@title="+title+"&sec="+sec+"\"> <param name=\"quality\" value=\"high\"> <embed src=\"img/flash_header.swf@title="+title+"&sec="+sec+"\" quality=\"high\" pluginspage=\"../www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"586\" height=\"107\"></embed> </object>");
}
function ValidateLogin(){
    if(document.flogin.Username.value==''){
      alert("Please enter your Username.");
      document.flogin.Username.focus();
      return false; 
    }
    if(document.flogin.Password.value==''){
      alert("Please enter your Password.");
      document.flogin.Password.focus();
      return false; 
    }
}
function ValidateLogin2(){
    if(document.flogin2.Username.value==''){
      alert("Please enter your Username.");
      document.flogin2.Username.focus();
      return false; 
    }
    if(document.flogin2.Password.value==''){
      alert("Please enter your Password.");
      document.flogin2.Password.focus();
      return false; 
    }
}